package com.jvup.common.widget.snackbar;

import com.jvup.common.R;

public enum Prompt {
    /**
     * 错误
     */
    ERROR(R.drawable.common_snack_bar_icon_error,R.layout.common_snack_bar_top, R.color.common_snack_bar_error),

    /**
     * 警告
     */
    WARNING(R.drawable.common_snack_bar_icon_warning,R.layout.common_snack_bar_top, R.color.common_snack_bar_warning),

    /**
     * 成功
     */
    SUCCESS(R.drawable.common_snack_bar_icon_success,R.layout.common_snack_bar_top, R.color.common_snack_bar_success);

    public final int resIcon;
    public final int layoutRid;
    public final int backgroundColor;

    Prompt(int resIcon, int layoutRid, int backgroundColor) {
        this.resIcon = resIcon;
        this.layoutRid = layoutRid;
        this.backgroundColor = backgroundColor;
    }

}
